﻿using MediatR;
using System.ComponentModel.DataAnnotations;

namespace SystemLYH.API.Application.Command.ProcuredCommand
{
	public class ProcuredUpdateCommand:IRequest<int>
	{
		/// <summary>
		/// 采购Id
		/// </summary>
		public int ProcuredId { get; set; }
		/// <summary>
		/// 采购编号
		/// </summary>
		public string? ProcuredNumber { get; set; }
		/// <summary>
		/// 采购原料编号
		/// </summary>
		public string? FeedstockNumber { get; set; }
		/// <summary>
		/// 采购原料名称
		/// </summary>
		public string? FeedstockName { get; set; }
		/// <summary>
		/// 采购原料数量
		/// </summary>
		public string? FeedstockNum { get; set; }
		/// <summary>
		/// 采购原料型号
		/// </summary>
		public string? Feedstocktype { get; set; }
		/// <summary>
		/// 采购原料尺寸
		/// </summary>
		public string? FeedstockSize { get; set; }
		/// <summary>
		/// 采购预算
		/// </summary>
		public string? ProcuredBudget { get; set; }
		/// <summary>
		/// 采购批次号
		/// </summary>
		public string? LotNumber { get; set; }
		/// <summary>
		/// 采购状态
		/// </summary>
		public string? ProcuredState { get; set; }
		/// <summary>
		/// 采购单价
		/// </summary>
		public string? ProcessPrice { get; set; }
		/// <summary>
		/// 实际采购价格
		/// </summary>
		public string? ProcessActual { get; set; }
		/// <summary>
		/// 付款方式
		/// </summary>
		public string? PayMethods { get; set; }
		/// <summary>
		/// 供应商Id
		/// </summary>
		public int supplierID { get; set; }
		/// <summary>
		/// 逻辑删除 
		/// </summary>
		public bool IsDelete { get; set; }

		/// <summary>
		/// 添加人
		/// </summary>
		public string? AddName { get; set; }
		/// <summary>
		/// 添加时间
		/// </summary>
		public DateTime? AddTime { get; set; }
		///// <summary>
		///// 修改人
		///// </summary>
		//public string? UpdateName { get; set; } = "李子坤";
		///// <summary>
		///// 修改时间
		///// </summary>
		//public DateTime UpdateTime { get; set; } = DateTime.Now.ToUniversalTime();
	}
}
